import styled from "styled-components";

export const MovieDetailStyle = styled.div`
  z-index: 1111;
  position: absolute;
  height: calc(100vh - 2.8rem);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding-top: 2.8rem;
  background: #3f5265;
  .back {
    position: absolute;
    top: 0;
    align-items: center;
    margin: 0.8rem 0 0 1rem;
    svg {
      width: 1.2rem;
      height: 1.2rem;
    }
  }
  .content {
    video {
      width: 100%;
      height: 13rem;
    }
    .brief {
      width: 95%;
      height:10rem;
      margin: 1rem auto;
      border-radius: 1rem;
      background: rgba(0, 0, 0, 0.2);
      color: #ffffff;
      .brief_title {
        margin-bottom: 0.5rem;
        font-size: 18px;
        font-weight: 900;
      }
      .brief_text {
        font-size: 14px;
      }
    }
    .comment {
      height:20rem;
      margin-top: 1.5rem;
      border-radius: 1.3rem 1.3rem 0 0;
      background: #ffffff;
      .comment_title {
        height: 1.8rem;
        font-size: 17px;
        font-weight: 700;
        position: relative;
        Button {
          background: #d22f31;
          border-radius: 1rem;
          position: absolute;
          right: 0;
        }
      }
      .comment_content {
        height: 9rem;
        border-bottom: 1px;
        position: relative;
        .comment_author {
          position: absolute;
          top: 0;
          height: 1.5rem;
          font-size: 15px;
          color: red;
        }
        .comment_text {
          position: absolute;
          top: 2rem;
          height: 4.5rem;
          font-size: 17px;
          font-weight: 400;
          font-style: italic;
        }
        .comment_date {
          position: absolute;
          bottom: 0;
          height: 2rem;
          font-size: 12px;
          color: gray;
          .reply_number {
            border-radius: 10px;
            background: rgba(0, 0, 0, 0.3);
            font-size: 13px;
          }
        }
      }
    }
  }
`;
